/*
 * @Author: HZK
 * @Date: 2020-09-08 14:08:50
 * @LastEditTime: 2020-09-15 14:26:33
 * @LastEditors: hanfengmi
 * @Description: 分块
 */
import React, { PureComponent } from 'react';
import styles from './index.less';

class Index extends PureComponent {
  state = {
    //   canClick:true
  }
  onStart=()=>{
    console.log('start');
  }
  onStop=()=>{
    console.log('stop');
  }
  render() {
    const {children,col} = this.props
    return (
      <div className={`${styles.Part}`} style={{flex:col}}>
        { children }
    </div>
    );
  }
}

export default Index;